# Create your views here.
from django.shortcuts import get_object_or_404, render_to_response
from models import Horaire

def inspecteur(request, horaire_id):
    horaire = get_object_or_404(Horaire,pk=horaire_id)
    response = render_to_response("horaire.html", {'horaire':horaire})
    return response
